package com.ruoyi.drinkwater.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 饮用水源地巡检记录对象 BUS_WATER_DRINKSOURCE_INSPECTIONS
 * 
 * @author maliang
 * @date 2025-11-02
 */
public class BusWaterDrinksourceInspections extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 饮用水源地ID */

    private String drinksourceid;

    @Excel(name = "水源地名称")
    private String drinksourcename;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "巡检时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectiontime;

    /** 巡检描述 */
    @Excel(name = "巡检描述")
    private String inspectionnote;

    /** 巡检照片 */
    @Excel(name = "巡检照片")
    private String inspectionimageurl;

    private String createby;

    private Date createtime;

    private String countycode;

    private String county;

    private String address;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setDrinksourceid(String drinksourceid) 
    {
        this.drinksourceid = drinksourceid;
    }

    public String getDrinksourceid() 
    {
        return drinksourceid;
    }

    public void setInspectiontime(Date inspectiontime) 
    {
        this.inspectiontime = inspectiontime;
    }

    public Date getInspectiontime() 
    {
        return inspectiontime;
    }

    public void setInspectionnote(String inspectionnote) 
    {
        this.inspectionnote = inspectionnote;
    }

    public String getInspectionnote() 
    {
        return inspectionnote;
    }

    public void setInspectionimageurl(String inspectionimageurl) 
    {
        this.inspectionimageurl = inspectionimageurl;
    }

    public String getInspectionimageurl() 
    {
        return inspectionimageurl;
    }

    public String getDrinksourcename() {
        return drinksourcename;
    }

    public void setDrinksourcename(String drinksourcename) {
        this.drinksourcename = drinksourcename;
    }

    public String getCreateby() {
        return createby;
    }

    public void setCreateby(String createby) {
        this.createby = createby;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getCountycode() {
        return countycode;
    }

    public void setCountycode(String countycode) {
        this.countycode = countycode;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("drinksourceid", getDrinksourceid())
            .append("inspectiontime", getInspectiontime())
            .append("inspectionnote", getInspectionnote())
            .append("inspectionimageurl", getInspectionimageurl())
            .toString();
    }
}
